<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>06-练习</title>
</head>
<body>
    <script>
        let num = prompt('输入名字')
        let age = prompt('输入年龄')
        let gender = prompt('输入性别')
        console.log(`姓名：${num}`);
        console.log(`年龄：${age}`);
        console.log(`性别：${gender}`);
        
    </script>
</body>
</html>